<template>
  <!-- 商品展示轮播图 -->
  <div class="comDisplay">
    <van-swipe
      class="my-swipe"
      :autoplay="3000"
      indicator-color="white"
      :loop="true"
    >
      <van-swipe-item
        class="imgBox"
        v-for="(item, index) in $parent.lbImg"
        :key="index"
        ><img v-lazy="$parent.allInfo.imageHost + item" alt=""
      /></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.comDisplay {
  padding-top: 47px;
}
.my-swipe .van-swipe-item {
  height: 386px;
  color: #fff;
  font-size: 20px;
  line-height: 386px;
  text-align: center;
  background-color: #39a9ed;

  img {
    width: 100%;
    height: 100%;
  }
}
</style>
